Capacity Bounded Grammars and Petri Nets
نویسندگان
چکیده
The close relationship between Petri nets and language theory has been extensively studied for a long time [1, 2]. Results from the theory of Petri nets have been applied successfully to provide elegant solutions to complicated problems from language theory [4, 7]. A context-free grammar can be associated with a context-free (communica-tion-free) Petri net, whose places and transitions, correspond to the nonterminals and the rules of the grammar, respectively, and whose arcs and weights reflect the change in the number of nonterminals when applying a rule. In some recent papers, context-free Petri nets enriched by additional components have been used to define regulation mechanisms for the defining grammar [3, 10]. Our paper continues the research in this direction by restricting the (context-free or extended) Petri nets with place capacity. Quite obviously, a context-free Petri net with place capacity regulates the defining grammar by permitting only those derivations where the number of each nonterminal in each sentential form is bounded by its capacity. A similar mechanism was discussed in [5] where the total number of nonterminals in each sentential form is bounded by a fixed integer. There it was shown that grammars regulated in this way generate the family of context-free languages of finite index, even if arbitrary nonterminal strings are allowed as left-hand sides. The main result of this paper is that, somewhat surprisingly, grammars with capacity bounds have a greater generative power. This paper is organized as follows. Section 2 contains some necessary definitions and notations from language and Petri net theory. The concepts of grammars with capacities and grammars controlled by Petri nets with place capacities are introduced in section 3. The generative power and closure properties of capacity-bounded grammars are investigated in sections 4 and 5. Results on grammars controlled by Petri nets with place capacities are given in section 6.
منابع مشابه
Petri Net Controlled Grammars: the Case of Special Petri Nets
A Petri net controlled grammar is a context-free grammar equipped with a Petri net, whose transitions are labeled with rules of the grammar or the empty string, and the associated language consists of all terminal strings which can be derived in the grammar and the the sequence of rules in every terminal derivation corresponds to some occurrence sequence of transitions of the Petri net which is...
متن کاملPetri Net Controlled Grammars with a Bounded Number of Additional Places
A context-free grammar and its derivations can be described by a Petri net, called a context-free Petri net, whose places and transitions correspond to the nonterminals and the production rules of the grammar, respectively, and tokens are separate instances of the nonterminals in a sentential form. Therefore, the control of the derivations in a context-free grammar can be implemented by adding ...
متن کاملA Comparative Study on Adjunct Array Token Petri Nets with Some Classes of Array Grammars
Adjunct Array Token Petri Net Structures (AATPNS) are recently introduced rectangular picture generating devices which extended the Array token Petri net Structures. AATPNS generated context free and context sensitive kolam array languages and tabled 0L/1L languages. In this paper we compare AATPNS with some simple and expressive picture grammar models like extended pure 2D context-free grammar...
متن کاملPetri Net DAG Languages and Regular Tree Languages with Synchronization
A true-concurrency semantics is often given via pomsets. A pomset is an abstract directed acyclic graph that is in addition transitive: any grandson of a node is also a son of that node. We will drop this rather artificial transitive property in this paper and research abstract directed acyclic graphs (dags) as a true-concurrency semantics for Petri nets and their relation to regular languages ...
متن کاملConcurrency for Graph Grammars in a Petri net shell
Graph grammars are a powerful model of concurrent and distributed systems which can be seen as a proper extension of Petri nets. Inspired by this correspondence we develop truly concurrent semantics for dpo graph grammars based on (deterministic) processes and on a Winskel’s style unfolding construction, and we show that the two approaches can be reconciled. A basic role is played by the study ...
متن کامل